<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="/utils/jquery-1.9.1.min.js"></script>
	</head>
	<body>
		<div>
			<input type="file">
		</div>
	</body>
</html>
<script type="text/javascript">
	var userAgent = navigator.userAgent;
	if (/miniProgram/i.test(userAgent)) {
		// 微信小程序 JS-SDK 如果不需要兼容微信小程序，则无需引用此 JS 文件。
		document.write('<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.4.0.js"><\/script>');
	}
	if (!/toutiaomicroapp/i.test(userAgent)) {
		document.querySelector('.post-message-section').style.visibility = 'visible';
	}
</script>
<!-- uni 的 SDK -->
<script type="text/javascript" src="https://js.cdn.aliyun.dcloud.net.cn/dev/uni-app/uni.webview.1.5.2.js"></script>
<script>
	document.addEventListener('UniAppJSBridgeReady', function() {
	        uni.postMessage({
	            data: {
	                action: 'message'
	            }
	        });
	        uni.getEnv(function(res) {
	            console.log('当前环境：' + JSON.stringify(res));
	        });
	    });
</script>